package entities;

public class Process {

	private int ProcessID;
	private int CreationTime;
	private int MemorySize;
	private int Priority;
	private boolean type;
	
	public int getProcessID() {
		return ProcessID;
	}
	public void setProcessID(int processID) {
		ProcessID = processID;
	}
	public int getCreationTime() {
		return CreationTime;
	}
	public void setCreationTime(int creationTime) {
		CreationTime = creationTime;
	}
	public int getMemorySize() {
		return MemorySize;
	}
	public void setMemorySize(int memorySize) {
		MemorySize = memorySize;
	}
	public int getPriority() {
		return Priority;
	}
	public void setPriority(int priority) {
		Priority = priority;
	}
	public String getType() {
		if(type)
		return "interactive";
		else
			return "system";
	}
	public void setType(String type) {
		if(type.equalsIgnoreCase("interactive")) 
			this.type=true;
		else if(type.equalsIgnoreCase("system")) 
			this.type=false;
	}

	
}
